package com.tsing.pojo.entity;

import java.time.LocalDateTime;

public class TlLetter {

  private Long id;
  private Long userId;
  private Long senderId;
  private String senderName;
  private String content;
  private Long isRead;
  private LocalDateTime createdTime;
  private LocalDateTime readTime;

  public TlLetter() {
  }

  public TlLetter(Long id, Long userId, Long senderId, String senderName, String content, Long isRead, LocalDateTime createdTime, LocalDateTime readTime) {
    this.id = id;
    this.userId = userId;
    this.senderId = senderId;
    this.senderName = senderName;
    this.content = content;
    this.isRead = isRead;
    this.createdTime = createdTime;
    this.readTime = readTime;
  }

  /**
   * 获取
   * @return id
   */
  public Long getId() {
    return id;
  }

  /**
   * 设置
   * @param id
   */
  public void setId(Long id) {
    this.id = id;
  }

  /**
   * 获取
   * @return userId
   */
  public Long getUserId() {
    return userId;
  }

  /**
   * 设置
   * @param userId
   */
  public void setUserId(Long userId) {
    this.userId = userId;
  }

  /**
   * 获取
   * @return senderId
   */
  public Long getSenderId() {
    return senderId;
  }

  /**
   * 设置
   * @param senderId
   */
  public void setSenderId(Long senderId) {
    this.senderId = senderId;
  }

  /**
   * 获取
   * @return senderName
   */
  public String getSenderName() {
    return senderName;
  }

  /**
   * 设置
   * @param senderName
   */
  public void setSenderName(String senderName) {
    this.senderName = senderName;
  }

  /**
   * 获取
   * @return content
   */
  public String getContent() {
    return content;
  }

  /**
   * 设置
   * @param content
   */
  public void setContent(String content) {
    this.content = content;
  }

  /**
   * 获取
   * @return isRead
   */
  public Long getIsRead() {
    return isRead;
  }

  /**
   * 设置
   * @param isRead
   */
  public void setIsRead(Long isRead) {
    this.isRead = isRead;
  }

  /**
   * 获取
   * @return createdTime
   */
  public LocalDateTime getCreatedTime() {
    return createdTime;
  }

  /**
   * 设置
   * @param createdTime
   */
  public void setCreatedTime(LocalDateTime createdTime) {
    this.createdTime = createdTime;
  }

  /**
   * 获取
   * @return readTime
   */
  public LocalDateTime getReadTime() {
    return readTime;
  }

  /**
   * 设置
   * @param readTime
   */
  public void setReadTime(LocalDateTime readTime) {
    this.readTime = readTime;
  }

  public String toString() {
    return "TlLetter{id = " + id + ", userId = " + userId + ", senderId = " + senderId + ", senderName = " + senderName + ", content = " + content + ", isRead = " + isRead + ", createdTime = " + createdTime + ", readTime = " + readTime + "}";
  }
}
